# https://blog.csdn.net/linshuhe1/article/details/93976706
# mkdir build
# cmake -G"MinGW Makefiles" -B build/
# cmake --build build

cmake_minimum_required(VERSION 3.5)

set(PROJECT_NAME demoGlfwGlad)
project(${PROJECT_NAME})

add_compile_options(-Wall -g)

set(SOURCE_FILE src/main.cpp
                src/glad.c)

add_executable(${PROJECT_NAME} ${SOURCE_FILE})

include_directories(./include)

target_link_directories(${PROJECT_NAME} PRIVATE "C:\\dPan\\code\\library\\glfw-3.4.bin.WIN64\\lib-mingw-w64")
target_link_libraries(${PROJECT_NAME} glfw3)
